import axios from "@/server"

// 更新抓取配置
export function configUpsert(formData: any) {
    return axios({
        url: `/v1/tasks/config/upsert`,
        method: "post",
        data: formData,
        headers: {
            "Content-Type": "multipart/form-data",
        },
    });
}